package com.glsc.ngateway.common.base.repo.mysql.gateway.platform.easyflow;


import com.glsc.ngateway.common.base.domain.mysql.gateway.platform.easyflow.FlowFormRemindMain;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FlowFormRemindMainRepo extends JpaRepository<FlowFormRemindMain, String>, JpaSpecificationExecutor<FlowFormRemindMain> {
    /**
     * 根据流程Id检索表单
     */
    FlowFormRemindMain findByProcessId(String processId);

    List<FlowFormRemindMain> findAllByProcessId(String processId);
}
